import sun.misc.ASCIICaseInsensitiveComparator;

import java.util.Scanner;

class Main {

   public static void main(String[] args) {

      Scanner input = new Scanner(System.in);
 	  String enter = input.next();
      String s1 = enter.split(",")[0];
      String s2 = enter.split(",")[1];
      System.out.println("The ASCII code of "+ s1 + " is ");
      System.out.println("The ASCII code of "+ s2 + " is ");

      input.close();
   }
}